//
//  UILabel+Extension.swift
//  weibo_swift01
//
//  Created by 孙郝聪 on 16/8/5.
//  Copyright © 2016年 shc. All rights reserved.
//

import UIKit

extension UILabel{

    convenience init(title: String, fontSize: CGFloat = 14, clolor: UIColor = UIColor.darkGrayColor()){
        self.init()
        text = title
        textColor = clolor
        font = UIFont.systemFontOfSize(fontSize)

        numberOfLines = 0
        textAlignment = NSTextAlignment.Center

    }
}